<!DOCTYPE html>
<html lang="ja">
<head>
   <meta charset="UTF-8">
   <title>Start with pixi.js</title>
</head>
<body>
<script src="https://cdnjs.cloudflare.com/ajax/libs/pixi.js/4.4.3/pixi.min.js"></script>
<script type="text/javascript">
    var Container = PIXI.Container,
    autoDetectRenderer = PIXI.autoDetectRenderer,
    loader = PIXI.loader,
    resources = PIXI.loader.resources,
    Sprite = PIXI.Sprite;
    var stage = new Container(),
    renderer = autoDetectRenderer(256, 256);
    document.body.appendChild(renderer.view);

    loader
      .add("images/cat.png")
      .load(setup);

    function setup() {
      var cat = new Sprite(resources["images/cat.png"].texture);
      stage.addChild(cat);
      renderer.render(stage);
    }
</script>
</body>
</html>